package com.qfedu.knowledge.entity.constant;

/**
 * @ClassName ElasticSearchConsant
 * @Author ykx
 * @Date 2024/4/17 12:17
 * @Version 1.0
 */
public interface ElasticSearchConsant {

    /**
     * 索引
     */
    String INDEX = "knowledge_index";

    /**
     * 类型
     */
    String TYPE = "knowledge_type";

    /**
     * 高亮显示的前缀
     */
    String[] PRE_TAGS = new String[]{"<font color='red'>"};

    /**
     * 高亮显示的后缀
     */
    String[] POST_TAGS = new String[]{"</font>"};

    /**
     * 高亮显示的字段
     */
    String HIGH_LIGHT_COLUMN = "question";

    /**
     * 高亮字段
     */
    String[] HIGH_LIGHT_COLUMNS = new String[]{"question", "optionA", "optionB"};

}
